﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebQueryRole.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="styles/style.css" rel="Stylesheet" type="text/css" />    
    <title></title>
    <!--
    % if(justLoggedIn && !String.IsNullOrEmpty(Request["url"])) {
            Response.Write("<META HTTP-EQUIV=\"refresh\" CONTENT=\"3;URL=" + Request["url"] + "\">");
       } %
       -->
</head>
<body>
    <form id="form1" method="post">
    <div>    
    <div id="informationDiv" runat="server" />   
        <% if (!_loggedIn)
           { %>
        <h2> Login Credentials </h2>        
        <table>
        <tr><td>User</td><td><input type="text" name="username" /> </td></tr>
        <tr><td>Password</td><td><input type="password" name="password" /></td></tr>
        </table>
        <input type="submit" name="submit" value="login" />    
        <input type="hidden" name="url" id="hiddenInputURL" runat="server" />
        <% } %>
    </div>
    </form>
</body>
</html>
